package com.situ.gym.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.situ.gym.pojo.Course;
import com.situ.gym.pojo.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.gym.pojo.query.CourseQuery;
import com.situ.gym.pojo.vo.ChartCountVO;
import com.situ.gym.pojo.vo.CourseVO;

import java.util.List;

public interface CourseMapper extends BaseMapper<Course> {

    IPage<CourseVO> list(IPage<CourseVO> page, CourseQuery courseQuery);

    void deleteAll(Integer[] ids);

    List<ChartCountVO> selectHotCourse();
}
